package com.xwaf.platform.system.provider.nok;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class CodeUtils {


    private CodeUtils() {
    }
    public static final String PRIMARY_KEY_DUPLICATE_ERROR_MSG = "主键id重复";
    public static final String DUPLICATE_UNIQUE_KEY_MSG = "数据库唯一性约束冲突";

    // message
    public static final String EMPTY_MSG = "字段为空 "; // XXX字段数据为空
   
   
    public static final String TOO_LONG_MSG = "字段过长 ";// XXX字段太长
    public static final String PAGENO_INVALID_MSG = "pageNo range 1~totalpage";
    public static final String PAGESIZE_INVALID_MSG = "pageSize range 1~100";
    public static final String INTEGER_MSG = " is int";
    public static final String INTEGER_RANGE_MSG = "  int rang is 0~2147483647";
    public static final String LONG_RANG_MSG = "  long rang is 0~9223372036854775807";

    
    
    

    // message
    public static final String DATA_WRONGFULNESS_MSG = "数据不合法"; // 数据不合法
    public static final String EXCEPTION_MSG = "系统异常"; // 异常
    public static final String EMPTY_LIST_MSG = "列表数据为空"; // 空白的列表
    public static final String EMPTY_DAT_MSG = "空白的单条数据"; // 空白的单条数据
    public static final String DATA_DUPLICATION_MSG = "数据重复"; // 数据重复
   
    
    public static final String IP_ERROR_MSG = " format error"; // ip地址格式错误
    public static final String DATETIME_ERROR_MSG = " format error"; // 日期格式错误
    public static final String EN_ERROR_MSG = "must enter English";
    public static final String ZH_ERROR_MSG = "must enter Chinese";
    public static final String ID_ERROR_MSG = "should range 0~999999999999999999";
    public static final String MIN1_TO_127_MSG = "should range -1~127";
    public static final String ZERO_ONE_ERROR_MSG = "should be 0 or 1";
    public static final String VERSION_ERROR_MSG = "should be -1 or range 0~999999999";
    public static final String MIN1_TO_16_MSG = "should range -1~16";
    public static final String SIBLING_ERROR_MSG = "should be -1 or range 0~999999999";
    public static final String ZERO_TO_127_MSG = "should range 0~127";
    public static final String POSITIVE_INTEGER_RANGE_MSG_ = "  int rang is 1~2147483647";
    public static final String ZERO_TO_9999_MSG = "should range 0~9999";    
    
    public static final String DATA_STATUS_ERROR_MSG = " range is 0~10";
    public static final String DATA_TYPE_ERROR_MSG = " range is 1~999999999";
    public static final String DATE_TYPE_ERROR_MSG = " type is yyyy-MM-dd HH:mm:ss";
    public static final String DATE_TYPE_ERROR_ONE_ZERO_MSG = "  is 0 or 1";
    public static final String DATE_TYPE_ERROR_ONE_ZERO_TWO_MSG = "  is 0 or 1 or 2";
    public static final String IDS_ERROR__MSG = "  应该以逗号分割，data should range 0~999999999999999999";
    public static final String ID_MIN1_ERROR_MSG = "should range -1~999999999999999999";
    public static final String DATE_IS_ERROR_MSG = "type is yyyy-MM-dd";
    public static final String DATE_HOUR_SECOND_ERROR_MSG = "should HH:mm";
    public static final String APPOINT_REPEAT_ERROR_MSG = "appoint repeat";
    public static final String APPOINT_COST_ERROR_MSG = "cost point failure";
    public static final String APPOINT_FULL_ERROR_MSG = "course is full";
    public static final String APPOINT_CANCELED_ERROR_MSG = "course was cancened";
    public static final String APPOINT_NOROOM_ERROR_MSG = "room not exist";
    public static final String DOUBLE_RANGE_ERROR_MSG = "should range is double example:1.00";
    public static final String MIN_MAX_RANGE_ERROR_MSG = "min 应该小于 max";
    public static final String ZERO_NINETYNINE_ERROR_MSG = "should range 0~99";
    public static final String LOW_HIGH_RANGE_ERROR_MSG = "low 应该小于 high";
    public static final String TAGS_IDS_ERROR_MSG = "应该以逗号分隔，范围0到99";
    public static final String INTEGER_ONE_MSG = "  int rang is 1~2147483647";
    public static final String DOUBLE_RANGE_MSG = "  不能大于99.9";
    public static final String ONE_TEN_REEOR_MSG = " 只能为1~10";
    public static final String ONE_NINETYNINE_ERROR_MSG = "should range 1~99";
    public static final String ID_ONE_REEOR_MSG = " should range 1~999999999999999999";
    public static final String TIME_LEN_REEOR_MSG = " should range 1~999";
}
